package com.zxx.dis.core;

import java.util.concurrent.TimeUnit;
import java.util.concurrent.locks.Lock;

public abstract class AbstractDistributedLock implements Lock {
    protected final String lockKey;
    protected final long expireTime;
    protected final TimeUnit timeUnit;

    public AbstractDistributedLock(String lockKey, long expireTime, TimeUnit timeUnit) {
        this.lockKey = lockKey;
        this.expireTime = expireTime;
        this.timeUnit = timeUnit;
    }
}